package org.wei.p2p.account.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wei
 * @date 2022/4/20 15:35
 */
@Slf4j
@RestController
@Tag(name = "TEST",description = "测试联通接口")
public class HelloController {

    @GetMapping("/hello")
    @Operation(summary = "Find by ID",
            tags = {"TEST"},
            description = "I am testing TAT ,find by Id return TAT")
    public String hello() {
        return "Hello account";
    }
}
